import createRoute from '../../lib/route'

let billAndValue = createRoute('')
billAndValue.path = 'billAndValue'
billAndValue.component = r => require.ensure([], () => r(require('./page.vue')), 'billAndValue')

let bvList = createRoute('計費與儲值')
bvList.path = ''
bvList.component = r => require.ensure([], () => r(require('./bvList.vue')), 'bvList')

let collectFee = createRoute('GoBike行程如何收費？')
collectFee.path = 'collectFee'
collectFee.component = r => require.ensure([], () => r(require('./components/collectFee.vue')), 'collectFee')

let bikeValue = createRoute('GoBike儲值')
bikeValue.path = 'bikeValue'
bikeValue.component = r => require.ensure([], () => r(require('./components/bikeValue.vue')), 'bikeValue')

let shortOfMoney = createRoute('騎行費用大於餘額怎麼辦？')
shortOfMoney.path = 'shortOfMoney'
shortOfMoney.component = r => require.ensure([], () => r(require('./components/shortOfMoney.vue')), 'shortOfMoney')

billAndValue.addChild(bvList).addChild(collectFee).addChild(bikeValue).addChild(shortOfMoney)
export default billAndValue
